import React from 'react'
import { Icon } from 'antd'
import { FormattedMessage } from 'react-intl'

export const TopDataSource = {
  wrapper: {className: 'header0 home-page-wrapper'},
  page: {className: 'home-page'},
  logo: {
    className: 'header0-logo',
    children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/tw-logo-white.png'
  },
  Menu: {
    className: 'header0-menu',
    children: [
      {name: 'item0', a: {children: '首页', href: 'https://school.thoughtworks.cn/'}},
      {name: 'item1', a: {children: '训练营', href: 'https://school.thoughtworks.cn/learn/home/index.html#/app-center'}},
      {name: 'item2', a: {children: '思沃校园', href: 'https://school.thoughtworks.cn/learn/campus'}}
      // {name: 'item3', a: {children: '订阅', href: ''}},
    ]
  },
  mobileMenu: {className: 'header0-mobile-menu'}
}
export const HeaderDataSource = {
  wrapper: {className: 'banner0'},
  textWrapper: {className: 'banner0-text-wrapper'},
  title: {className: 'banner0-title'}
}
export const ContentDestinationDataSource = {
  wrapper: {className: 'home-page-wrapper content0-wrapper'},
  page: {className: 'home-page content0'},
  OverPack: {playScale: 0.3, className: ''},
  titleWrapper: {
    className: 'title-wrapper',
    children: [{
      name: 'title',
      children: (
        <p><FormattedMessage id='我们的目标是' /></p>
      )
    }]
  },
  block: {
    className: 'block-wrapper',
    children: [
      {
        name: 'block0',
        className: 'block',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'icon',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/design.svg'
          },
          title: {className: 'content0-title', children: 'DESIGN'},
          content: {children: <FormattedMessage id='设计思维' />}
        }
      },
      {
        name: 'block1',
        className: 'block',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'icon',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/engineering.svg'
          },
          title: {
            className: 'content0-title',
            children: 'ENGINEERING'
          },
          content: {children: <FormattedMessage id='工程实践' />}
        }
      },
      {
        name: 'block2',
        className: 'block',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'icon',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/business.svg'
          },
          title: {className: 'content0-title', children: 'BUSINESS'},
          content: {children: <FormattedMessage id='商业视角' />}
        }
      }
    ]
  }
}
export const ContentStudyDataSource = {
  wrapper: {className: 'home-page-wrapper content4-wrapper'},
  page: {className: 'home-page content4'},
  OverPack: {playScale: 0.3, className: ''},
  titleWrapper: {
    className: 'title-wrapper',
    children: [
      {
        name: 'title',
        children: <FormattedMessage id='我们提供的学习环境' />,
        className: 'title-h1'
      }
    ]
  },
  video: {
    className: 'content4-video',
    children: {
      video: '',
      image: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/online-center-bg.png'
    }
  }
}
export const ContentLeaderDataSource = {
  wrapper: {
    className: 'home-page-wrapper content8-wrapper jq8toyju61d-editor_css'
  },
  page: {className: 'home-page content8 jq8tn7hm84d-editor_css'},
  OverPack: {playScale: 0.3},
  titleWrapper: {
    className: 'title-wrapper',
    children: [
      {
        name: 'title',
        children: (
          <span>
            <p><FormattedMessage id='全球技术领导力' /></p>
          </span>
        ),
        className: 'title-h1'
      }
    ]
  },
  block: {
    className: 'content-wrapper',
    children: [
      {
        name: 'block0',
        md: 6,
        xs: 24,
        className: 'content8-block-wrapper',
        children: {
          className: 'content8-block jq8uajqu9l7-editor_css',
          img: {
            className: 'content8-img jq8txbmabi-editor_css',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/martin-fowler.png'
          },
          title: {className: 'content8-title', children: 'Martin Fowler'},
          content: {
            className: 'content8-content',
            children: ''
          }
        }
      },
      {
        name: 'block1',
        md: 6,
        xs: 24,
        className: 'content8-block-wrapper',
        children: {
          className: 'content8-block',
          img: {
            className: 'content8-img jq8txzmnl2r-editor_css',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/rebecca-parsons.png'
          },
          title: {className: 'content8-title', children: 'Rebecca Parsons'},
          content: {
            className: 'content8-content',
            children: ''
          }
        }
      },
      {
        name: 'block2',
        md: 6,
        xs: 24,
        className: 'content8-block-wrapper',
        children: {
          className: 'content8-block',
          img: {
            className: 'content8-img jq8ty1fey4-editor_css',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/jim-highsmith.png'
          },
          title: {className: 'content8-title', children: 'Jim Highsmith'},
          content: {
            className: 'content8-content',
            children: ''
          }
        }
      },

      {
        name: 'block~jq8twyz67eq',
        md: 6,
        xs: 24,
        className: 'content8-block-wrapper',
        children: {
          className: 'content8-block',
          img: {
            className: 'content8-img jq8tvrmibmm-editor_css',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/neal-ford.png'
          },
          title: {className: 'content8-title', children: 'Neal Ford'},
          content: {
            className: 'content8-content',
            children: ''
          }
        }
      }
    ]
  }
}
export const ContentLecturerDataSource = {
  wrapper: {className: 'home-page-wrapper content3-wrapper'},
  page: {className: 'home-page content3'},
  OverPack: {playScale: 0.3},
  titleWrapper: {
    className: 'title-wrapper',
    children: [
      {
        name: 'title',
        children: (
          <span>
            <p><FormattedMessage id='师资队伍' /></p>
          </span>
        ),
        className: 'title-h1'
      }
    ]
  },
  block: {
    className: 'content3-block-wrapper',
    children: [
      {
        name: 'block0',
        className: 'content3-block',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'content3-icon',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/tongjian.jpg'
          },
          textWrapper: {className: 'content3-text'},
          title: {
            className: 'content3-title',
            children: (
              <span>
                <p><FormattedMessage id='仝键' /></p>
              </span>
            )
          },
          content: {
            className: 'content3-content',
            children: <FormattedMessage
              id='十年工作经验，思特沃克首席咨询师。之前一直从事开发工作，有丰富的软件开发经验。在敏捷软件开发，软件设计，系统架构，大规模遗留系统重构方面有丰富的经验。思特沃克中国区企业大学——“思特沃克学习平台”创始人，近年来主要关注在如何快速、大规模培养优秀的数字化人才。主要负责公司内能力提升，并帮助更多企业解决数字化时代的人才问题。' />
          }
        }
      },
      {
        name: 'block1',
        className: 'content3-block',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'content3-icon',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/huhao.jpg'
          },
          textWrapper: {className: 'content3-text'},
          title: {className: 'content3-title', children: <FormattedMessage id='胡皓' />},
          content: {
            className: 'content3-content',
            children: <FormattedMessage
              id='思特沃克高级咨询师，“思特沃克学习平台”创始成员之一，一名从军队汽车兵通过自学成长起来的全栈软件工程师。5年军旅生涯，近10年软件从业经验，从事过多种角色。有着丰富的敏捷软件开发、业务分析、项目管理、人员培养经验。2014年加入思特沃克以来，持续推进公司的数字化人才培养战略，帮助院校和企业解决数字化人才的培养问题。' />
          }
        }
      },
      {
        name: 'block2',
        className: 'content3-block',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'content3-icon',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/linwenjun.jpg'
          },
          textWrapper: {className: 'content3-text'},
          title: {className: 'content3-title', children: <FormattedMessage id='林文军' />},
          content: {
            className: 'content3-content',
            children: <FormattedMessage
              id='思特沃克高级咨询师, 讲师。无任何计算机教育背景，完全靠自学成才的developer, 全栈工程师，精通前端。有丰富的离岸及国内项目开发经验，在数个项目中担任项目和技术负责人等角色。多年来一直关注与技术方向的教练，同时帮助不少人在培养习惯方面做出取得了长足的进步。' />
          }
        }
      },
      {
        name: 'block3',
        className: 'content3-block clear-both',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'content3-icon',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/zhongjianxin.jpg'
          },
          textWrapper: {className: 'content3-text'},
          title: {className: 'content3-title', children: <FormattedMessage id='钟健鑫' />},
          content: {
            className: 'content3-content',
            children: <FormattedMessage
              id='思特沃克高级咨询师，7年以上工作经验。擅长多语言全栈开发、敏捷过程改进、教练技术、DevOps转型、微服务架构与持续集成和交付落地。Top100、WOTA峰会、TW雷达峰等大型会议讲师，成都DevOps Community负责人。' />
          }
        }
      },
      {
        name: 'block5',
        className: 'content3-block',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'content3-icon',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/zhouxianjing.png'
          },
          textWrapper: {className: 'content3-text'},
          title: {className: 'content3-title', children: <FormattedMessage id='禚娴静' />},
          content: {
            className: 'content3-content',
            children: <FormattedMessage
              id='ThoughtWorks咨询师。她拥有十多年传统企业和互联网软件的一线开发经验，专注于整洁代码、软件架构和持续交付领域。她酷爱代码，乐于分享，在QCon和InfoQ发表过多篇文章，享受跳跃的代码和文字带来的乐趣；也愿意帮助到更多的她，希望在喜欢的领域走的更远。' />
          }
        }
      },
      {
        name: 'block6',
        className: 'content3-block',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'content3-icon',
            children: 'https://tws-upload.s3.cn-north-1.amazonaws.com.cn/images/yuanshenjian.jpeg'
          },
          textWrapper: {className: 'content3-text'},
          title: {className: 'content3-title', children: <FormattedMessage id='袁慎建' />},
          content: {
            className: 'content3-content',
            children: <span><FormattedMessage
              id='思特沃克咨询师、培训师，拥有丰富的国内外敏捷项目实战经验，聚焦CI/CD、TDD、Clean Coder、Refactor等核心敏捷实践。因热爱人才培养而加入了思特沃克专业培训团队，继而主导推动思特沃克中国区新员工入职培训体系建设。个人主页：' />
              <a href='https://sjyuan.club'>https://sjyuan.club</a>
            </span>
          }
        }
      },
      {
        name: 'block7',
        className: 'content3-block',
        md: 8,
        xs: 24,
        children: {
          icon: {
            className: 'content3-icon',
            children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/shezheng.png'
          },
          textWrapper: {className: 'content3-text'},
          title: {className: 'content3-title', children: <FormattedMessage id='佘镇' />},
          content: {
            className: 'content3-content',
            children: <FormattedMessage
              id='思特沃克高级咨询师，软件工程师。致力于探索和传播先进的软件工程和管理实践，帮助客户组织推进数字化转型。过去7年里有丰富的从零搭建团队，软件项目规划，软件过程改进和带领团队交付产品的经验。' />
          }
        }
      }

    ]
  }
}
export const ContentTutorDataSource = {
  wrapper: {className: 'home-page-wrapper content9-wrapper'},
  page: {className: 'home-page content9 jq8urkkt4ib-editor_css'},
  titleWrapper: {
    className: 'title-wrapper',
    children: [
      {
        name: 'title',
        children: (
          <span>
            <p><FormattedMessage id='助教感言' /></p>
          </span>
        ),
        className: 'title-h1'
      }
    ]
  },
  block: {
    className: 'timeline',
    children: [
      {
        name: 'block0',
        className: 'block-wrapper',
        playScale: 0.3,
        children: {
          imgWrapper: {className: 'image-wrapper jq8uobs6g8-editor_css'},
          textWrapper: {className: 'text-wrapper jq8uthdo6jq-editor_css'},
          img: {
            className: 'block-img',
            children:
              'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/xuya.png'
          },
          icon: {
            className: 'block-icon',
            children:
              'https://gw.alipayobjects.com/zos/rmsportal/qJnGrvjXPxdKETlVSrbe.svg'
          },
          name: {className: 'block-name', children: '徐芽'},
          post: {className: 'block-post', children: '2017年第二期特训营助教'},
          content: {
            className: 'block-content jq8utliwdon-editor_css',
            children:
              '对于特训营有很深的感情，一起学习一起成长的经历十分的可贵。作为一个学员，我非常积极地汲取知识。作为一个助教，自己的知识储备还是不够。每次组织大家一起学习其实都有点虚，感觉自己在学员们面前是代表着思特沃克学习平台的，每次回答不上来问题，就有点给思特沃克学习平台丢脸的感觉，非常难受，当然也激励我不停地深入他们的问题，拓展一些更广阔的知识面。总的来说，体验非常棒！'
          }
        }
      },
      {
        name: 'block1',
        className: 'block-wrapper',
        playScale: 0.3,
        children: {
          imgWrapper: {className: 'image-wrapper jq8uomujrp-editor_css'},
          textWrapper: {className: 'text-wrapper jq8ut8nb8i-editor_css'},
          img: {
            className: 'block-img',
            children:
              'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/caorong.jpg'
          },
          icon: {
            className: 'block-icon',
            children:
              'https://gw.alipayobjects.com/zos/rmsportal/qJnGrvjXPxdKETlVSrbe.svg'
          },
          name: {className: 'block-name', children: '曹容'},
          post: {className: 'block-post', children: '2017年第二期特训营助教'},
          content: {
            className: 'block-content jq8up038k0g-editor_css',
            children:
              '第二期特训营自己在担任助教期间，收获到了很多东西。比起自己一个人学习，在陪伴、引导别人学习的过程中，我对那些知识理解的更加深刻，同时也很好的锻炼了自己的表达和沟通能力。很感谢能有在特训营担任助教的机会，让我认识到一群很不错的学员，在和他们的相处中我非常的享受，能和这么一群志同道合的朋友一起，不仅是他们在成长，我自己也是从他们身上学习到不少好的知识点和习惯，也是自己的一次成长。感谢！'
          }
        }
      }
    ]
  }
}
export const ContentStudentsDataSource = {
  wrapper: {className: 'home-page-wrapper content9-wrapper'},
  page: {className: 'home-page content9 jq8urkkt4ib-editor_css'},
  titleWrapper: {
    className: 'title-wrapper',
    children: [
      {
        name: 'title',
        children: (
          <span>
            <p><FormattedMessage id='学员感言' /></p>
          </span>
        ),
        className: 'title-h1'
      }
    ]
  },
  block: {
    className: 'timeline',
    children: [
      {
        name: 'block0',
        className: 'block-wrapper',
        playScale: 0.3,
        children: {
          imgWrapper: {className: 'image-wrapper jq8uobs6g8-editor_css'},
          textWrapper: {className: 'text-wrapper jq8uthdo6jq-editor_css'},
          img: {
            className: 'block-img',
            children:
              'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/gaoxuerong.png'
          },
          icon: {
            className: 'block-icon',
            children:
              'https://gw.alipayobjects.com/zos/rmsportal/qJnGrvjXPxdKETlVSrbe.svg'
          },
          name: {className: 'block-name', children: '高雪荣'},
          post: {className: 'block-post', children: '2017年第二期特训营学员'},
          content: {
            className: 'block-content jq8utliwdon-editor_css',
            children:
              '平时的日常生活中大都听到别人对女孩子学习编程的不认可，在思特沃克学习平台这三个月里，我知道了有这么一个地方认可女性学习编程，真的超级感动。暴风哭泣，哇！'
          }
        }
      },
      {
        name: 'block1',
        className: 'block-wrapper',
        playScale: 0.3,
        children: {
          imgWrapper: {className: 'image-wrapper jq8uomujrp-editor_css'},
          textWrapper: {className: 'text-wrapper jq8ut8nb8i-editor_css'},
          img: {
            className: 'block-img',
            children:
              'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/jianglan.jpg'
          },
          icon: {
            className: 'block-icon',
            children:
              'https://gw.alipayobjects.com/zos/rmsportal/qJnGrvjXPxdKETlVSrbe.svg'
          },
          name: {className: 'block-name', children: '蒋岚'},
          post: {className: 'block-post', children: '2017年第二期特训营学员'},
          content: {
            className: 'block-content jq8up038k0g-editor_css',
            children:
              '我觉得特训营是一个分享技术，提升自我的一个平台。在这里真的可以学到很多知识，掌握更多有用的技术，能够不断的学习，充实自己，帮助我成为自己理想中的样子。'
          }
        }
      }
    ]
  }
}
export const ContentThoughtWorksDataSource = {
  wrapper: {className: 'home-page-wrapper content2-wrapper'},
  OverPack: {className: 'home-page content2', playScale: 0.3},
  imgWrapper: {className: 'content2-img', md: 10, xs: 24},
  img: {
    children: 'https://s3.cn-north-1.amazonaws.com.cn/tws-upload/images/qr-code.jpg'
  },
  textWrapper: {className: 'content2-text', md: 14, xs: 24},
  title: {className: 'content2-title', children: <FormattedMessage id='关于ThoughtWorks®' />},
  content: {
    className: 'content2-content',
    children:
  <div>
    <div><FormattedMessage
      id='思特沃克（ThoughtWorks）是一家全球信息技术服务公司，在美国，英国，澳大利亚，德国，新加坡，印度，巴西，南非，中国，厄瓜多尔，土耳其等十几个国家中，她成为超过4000技术牛人的实践乐园。' />
    </div>
    <br />
    <div><FormattedMessage id='思特沃克进入中国十年，分别在北京，上海，深圳，西安，成都和武汉成立了分公司，有接近1000名员工通过全球资源共享和人才交流，服务全球各行业的顶尖客户。' /></div>
  </div>
  }
}
export const Footer20DataSource = {
  wrapper: {className: 'home-page-wrapper footer2-wrapper'},
  OverPack: {className: 'home-page footer2', playScale: 0.05, appear: false},
  copyright: {
    className: 'copyright',
    children: [
      {
        name: 'group',
        children: (
          <span>
            <p>© {new Date().getFullYear()} ThoughtWorks Inc.&nbsp;</p>
          </span>
        ),
        className: 'copyright-group'
      },
      {
        name: 'image2',
        children:
          'https://gw.alipayobjects.com/zos/rmsportal/fgGmQUfiUfSBfvsQpfOj.svg',
        className: 'copyright-line'
      },
      {
        name: 'copyright',
        children: (
          <span>
            <a href='http://www.beian.miit.gov.cn'>陕ICP备13005347号-3</a>
          </span>
        ),
        className: 'copyright-text'
      }
    ]
  },
  links: {
    className: 'links',
    children: [
      {
        name: 'weibo',
        href: 'https://weibo.com/thoughtworkschina',
        className: 'links-weibo',
        children: <Icon type='weibo' />,
        target: '_black'
      }
    ]
  }
}
